package com.cropdoctor.service;

import com.cropdoctor.common.Result;
import com.cropdoctor.model.dto.HistoryImgDisDto;
import com.cropdoctor.model.dto.ImgDisDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.time.LocalDateTime;
import java.util.List;

//识别病虫害
public interface ImgIdfDisService {
    Result<List<ImgDisDto>> imgIdf(MultipartFile multipartFile,String path) throws IOException;

    Result<List<HistoryImgDisDto>> getHistory(Long userId, String name, LocalDateTime dateTime,Long id);

}
